﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace ArbolandiaBL
{
    [DataContract]
    public class ObError
    {

        private string _comments;
        [DataMember]
        public string Comments
        {
            get { return _comments; }
            set { _comments = value; }
        }

        private int _idUser;
        [DataMember]
        public int IdUser
        {
            get { return _idUser; }
            set { _idUser = value; }
        }

        private DateTime _date;
        [DataMember]
        public DateTime Date
        {
            get { return _date; }
            set { _date = value; }
        }

        private string _errorMessage;
        [DataMember]
        public string ErrorMessage
        {
            get { return _errorMessage; }
            set { _errorMessage = value; }
        }

        private string _source;
        [DataMember]
        public string Source
        {
            get { return _source; }
            set { _source = value; }
        }

        private string _stackTrace;
        [DataMember]
        public string StackTrace
        {
            get { return _stackTrace; }
            set { _stackTrace = value; }
        }

        private string _innerExeptionMessage;
        [DataMember]
        public string InnerExeptionMessage
        {
            get { return _innerExeptionMessage; }
            set { _innerExeptionMessage = value; }
        }
    }
}
